<%--
    Document   : index
    Created on : Jul 7, 2011, 1:23:40 AM
    Author     : Thanhluan216
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<jsp:include page="header.jsp"></jsp:include>
            <div id="main">
                <div id="slidebar">
                    <div id="login">
                        <jsp:include page="login.jsp"></jsp:include>
                    </div>
                    <div id="search">
                        <jsp:include page="search.jsp"></jsp:include>
                    </div>
                    <div id="product">
                        <jsp:include page="categorypanel.jsp"></jsp:include>
                    </div>
                </div>


                <div id="content">
                    <a href="#">Home</a>-><a href="#">My Profile</a>-><a href="#">Change Password</a>
                    <br/>
                    <h2>Change Password</h2>
                    <form action="controlertuan">
                    <table border="0">

                        <tr>
                            <td>Old Password</td>
                            <td><input type="password" name="OldPassword"/>
                            <input type="hidden" value="<%= session.getAttribute("username").toString()%>" name="username" />
                            </td>
                        </tr>

                        <tr>
                            <td>New Password</td>
                            <td><input type="password" name="NewPassword"/></td>
                        </tr>
                        <tr>
                        <td>Confirm Password</td>

                        <td><input type="password" name="ConfirmPassword"/>
                        <input type="hidden" name="action" value="changePasswordUser"/>
                        </td>

                        </tr>
                        <tr>

                            <td><input type="submit" value="Update"/> </td>
                            <td><input type="reset" value="Cancel"/></td>
                            <td>
                                <%if(request.getAttribute("eros")== null){}
                            else
                            {
                                out.print(request.getAttribute("eros"));
                            }
                                %>
                            </td>

                        </tr>
                    </table>
                    </form>
                </div>
            </div>
            <div id="footer">

            </div>
        </div>
    </body>
</html>
